#include "board.h"
#include <Arduino.h>

#ifndef MATRIXLCD_H
#define MATRIXLCD_H

#define UP_ARROW 0x42
#define DOWN_ARROW 0x48
#define LEFT_ARROW 0x44
#define RIGHT_ARROW 0x43
#define CENTER_BUTTON 0x45
#define TOP_LEFT_BUTTON 0x41
#define BOTTOM_LEFT_BUTTON 0x47
#define RED 0x1
#define GREEN 0x2
#define OFF  0x0

void initLCD();

void introLCD();

//Sets color of top led, inputs RED, GREEN, or OFF
void led1(int);

//sets color of middle led, inputs RED, GREEn, or OFF
void led2(int);

//sets color of bottom led, inputs RED, GREEN, or OFF
void led3(int);

void lcdPrintln(String);

void lcdPrint(String);

Piecetype getPromotionChoice(Color);

Movetype get_button();

void clearLCD();

void newLine();

void cursorHome();

void cursorSet(int, int);

#endif
